<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  123
  <script>
    document.body.style.color = 'red'
    document.body.style.color = 'white'
    document.body.style.color = 'yellow'
    document.body.style.color = 'pink'
    // ---> 画 异步的

    宏任务：同步代码、setTimeout,setInterval,ui渲染
    微任务：promise
  </script>
</body>
</html>
